<?php include_once '../../essential.php'; ?>
<div id="nav">
	<ul>
		<li><div id="group-add-ico"><a href="#" onclick="openForm('group','form', 0);">Cadastrar</a></div></li>
		<li><div id="group-edit-ico"><a href="#" onclick="editItem();">Alterar</a></div></li>
		<li><div id="group-exclude-ico"><a href="#" onclick="exclude('group', 'delete', 'grupos');">Excluir</a></div></li>
        <li><div id="voltar-ico"><a href="index.php">Voltar</a></div></li>
	</ul>
</div>
<div id="content">
	<!--<div id="filter">
		<form action="#" method="post" onSubmit = "return filter(this, 'user', 'filter');";>
			<label for="group">Grupo: </label>
			<select id="group" name='group'>
				<option value=""></option>
				<?php				
					$group = new Group();
					$result = $group->listAll();
					
					while($grp = mysql_fetch_object($result))
					{
						echo "<option value='".$grp->id."'>".$grp->name."</option>";
					}
					
				?>
			</select>
			<label>Status:</label>
			<select name="status">
				<option value=""></option>
				<option value="1">Ativo</option>
				<option value="0">Inativo</option>
			</select>
			<label for="name">Nome:</label>
			<input type='text' name='name' id='name'/>
			<input type="submit" value="Pesquisar"/>
		</form>		
	</div>-->
	<div id="list">
		<?php include_once "list.php";?>
	</div>
</div>